home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Open Me First! / Stack Browser / Stack Browser / card_4249.xml < prev    next >
Extensible Markup Language  |  1991-09-11  |  10KB  |  188 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3. <card>
  4.     <id>4249</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_2198.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>3650</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3221.css" />
  12.     <part>
  13.         <id>3</id>
  14.         <type>field</type>
  15.         <visible> <true /> </visible>
  16.         <dontWrap> <false /> </dontWrap>
  17.         <dontSearch> <false /> </dontSearch>
  18.         <sharedText> <false /> </sharedText>
  19.         <fixedLineHeight> <false /> </fixedLineHeight>
  20.         <autoTab> <false /> </autoTab>
  21.         <lockText> <true /> </lockText>
  22.         <rect>
  23.             <left>56</left>
  24.             <top>1</top>
  25.             <right>208</right>
  26.             <bottom>18</bottom>
  27.         </rect>
  28.         <style>shadow</style>
  29.         <autoSelect> <false /> </autoSelect>
  30.         <showLines> <false /> </showLines>
  31.         <wideMargins> <false /> </wideMargins>
  32.         <multipleLines> <false /> </multipleLines>
  33.         <reservedFamily> 0 </reservedFamily>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>center</textAlign>
  37.         <font>Geneva</font>
  38.         <textSize>9</textSize>
  39.         <textStyle>bold</textStyle>
  40.         <textHeight>12</textHeight>
  41.         <name>volName</name>
  42.         <script>on mouseDownput GetVolNames () into theMenuItemsget PopUpMenu (theMenuItems, 0, left of me+1, bottom of me)If it > 0 thenput item it of theMenuItems into volNameput cd field "volName" into saveNameput volName into cd field "volName"if FindAllStacks (volName) = 1 then put saveName into cd field "volName"end ifend mouseDown</script>
  43.     </part>
  44.     <part>
  45.         <id>19</id>
  46.         <type>field</type>
  47.         <visible> <true /> </visible>
  48.         <dontWrap> <true /> </dontWrap>
  49.         <dontSearch> <false /> </dontSearch>
  50.         <sharedText> <false /> </sharedText>
  51.         <fixedLineHeight> <false /> </fixedLineHeight>
  52.         <autoTab> <false /> </autoTab>
  53.         <lockText> <false /> </lockText>
  54.         <rect>
  55.             <left>5</left>
  56.             <top>37</top>
  57.             <right>219</right>
  58.             <bottom>277</bottom>
  59.         </rect>
  60.         <style>scrolling</style>
  61.         <autoSelect> <false /> </autoSelect>
  62.         <showLines> <false /> </showLines>
  63.         <wideMargins> <false /> </wideMargins>
  64.         <multipleLines> <false /> </multipleLines>
  65.         <reservedFamily> 0 </reservedFamily>
  66.         <titleWidth>0</titleWidth>
  67.         <icon>0</icon>
  68.         <textAlign>left</textAlign>
  69.         <font>Palatino</font>
  70.         <textSize>12</textSize>
  71.         <textStyle>plain</textStyle>
  72.         <textHeight>16</textHeight>
  73.         <name>longNames</name>
  74.         <script>on mouseUpPickAFile--put the clicklineend mouseUp</script>
  75.     </part>
  76.     <part>
  77.         <id>10</id>
  78.         <type>field</type>
  79.         <visible> <true /> </visible>
  80.         <dontWrap> <true /> </dontWrap>
  81.         <dontSearch> <false /> </dontSearch>
  82.         <sharedText> <false /> </sharedText>
  83.         <fixedLineHeight> <false /> </fixedLineHeight>
  84.         <autoTab> <false /> </autoTab>
  85.         <lockText> <true /> </lockText>
  86.         <rect>
  87.             <left>5</left>
  88.             <top>33</top>
  89.             <right>219</right>
  90.             <bottom>281</bottom>
  91.         </rect>
  92.         <style>scrolling</style>
  93.         <autoSelect> <false /> </autoSelect>
  94.         <showLines> <false /> </showLines>
  95.         <wideMargins> <false /> </wideMargins>
  96.         <multipleLines> <false /> </multipleLines>
  97.         <reservedFamily> 0 </reservedFamily>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>0</icon>
  100.         <textAlign>left</textAlign>
  101.         <font>Palatino</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>plain</textStyle>
  104.         <textHeight>16</textHeight>
  105.         <name>shortNames</name>
  106.         <script>on mouseUpput word 2 of the clickLine into lineNumgo stack (line lineNum of cd field longNames)end mouseUp</script>
  107.     </part>
  108.     <part>
  109.         <id>15</id>
  110.         <type>button</type>
  111.         <visible> <true /> </visible>
  112.         <reserved5> 0 </reserved5>
  113.         <reserved4> 0 </reserved4>
  114.         <reserved3> 0 </reserved3>
  115.         <reserved2> 0 </reserved2>
  116.         <reserved1> 0 </reserved1>
  117.         <enabled> <true /> </enabled>
  118.         <rect>
  119.             <left>1</left>
  120.             <top>1</top>
  121.             <right>58</right>
  122.             <bottom>16</bottom>
  123.         </rect>
  124.         <style>transparent</style>
  125.         <showName> <true /> </showName>
  126.         <highlight> <false /> </highlight>
  127.         <autoHighlight> <false /> </autoHighlight>
  128.         <sharedHighlight> <true /> </sharedHighlight>
  129.         <family>0</family>
  130.         <titleWidth>0</titleWidth>
  131.         <icon>0</icon>
  132.         <textAlign>center</textAlign>
  133.         <font>Geneva</font>
  134.         <textSize>9</textSize>
  135.         <textStyle>bold</textStyle>
  136.         <name>Volume:</name>
  137.         <script></script>
  138.     </part>
  139.     <part>
  140.         <id>20</id>
  141.         <type>button</type>
  142.         <visible> <true /> </visible>
  143.         <reserved5> 0 </reserved5>
  144.         <reserved4> 0 </reserved4>
  145.         <reserved3> 0 </reserved3>
  146.         <reserved2> 0 </reserved2>
  147.         <reserved1> 0 </reserved1>
  148.         <enabled> <true /> </enabled>
  149.         <rect>
  150.             <left>32</left>
  151.             <top>286</top>
  152.             <right>184</right>
  153.             <bottom>305</bottom>
  154.         </rect>
  155.         <style>shadow</style>
  156.         <showName> <true /> </showName>
  157.         <highlight> <false /> </highlight>
  158.         <autoHighlight> <false /> </autoHighlight>
  159.         <sharedHighlight> <true /> </sharedHighlight>
  160.         <family>0</family>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>center</textAlign>
  164.         <font>Chicago</font>
  165.         <textSize>12</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <name>Update List</name>
  168.         <script>on mouseUpput cd field "volName" into vNameget FindAllStacks (card field "volName")end mouseUp</script>
  169.     </part>
  170.     <content>
  171.         <layer>card</layer>
  172.         <id>3</id>
  173.         <text>QuickTime‚Ñ¢ Beta</text>
  174.     </content>
  175.     <content>
  176.         <layer>card</layer>
  177.         <id>10</id>
  178.         <text>A Disk At the Opera stackA Zoo in my FloppyABC News InteractiveActions StackAsk Dr. QuickTimeDesktop Physics stackEvery MovieEye StackGestures StackKilimanjaro stack with pixKon and Deeps QuickTime StackMeet the Team StackMouth StackMovie BrowserMovie Making StackNavigable Scenes StackPostcard from LondonPostcard from ParisQTMovieQuickTimeShoppingNetworkVideoShopVideoShop DemoVisual Catalog</text>
  179.     </content>
  180.     <content>
  181.         <layer>card</layer>
  182.         <id>19</id>
  183.         <text>QuickTime‚Ñ¢ Beta:Movies:Video:Play from Hard Disk:Opera Stack: A Disk At the Opera stackQuickTime‚Ñ¢ Beta:Photos:HyperCard Examples: A Zoo in my Floppy: A Zoo in my FloppyQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Education:News is Interactive:ABC News InteractiveQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Annotation:Actions:Actions StackQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Cool Stuff:Voyager Ephemeral Movies:Ask Dr. QuickTimeQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Science/Engineering:Desktop Physics:Desktop Physics stackQuickTime‚Ñ¢ Beta:Movies:Every MovieQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Annotation:Eye Gestures:Eye StackQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Annotation:Facial Gestures:Gestures StackQuickTime‚Ñ¢ Beta:Photos:HyperCard Examples:Climbing Mt. Kilimanjaro:Kilimanjaro stack with pixQuickTime‚Ñ¢ Beta:Movies:Video:Play from Hard Disk:Silly Shorts:Kon and Deeps QuickTime StackQuickTime‚Ñ¢ Beta:Open Me First!:Video About Box:Meet the Team StackQuickTime‚Ñ¢ Beta:Movies:Video:Play from CD-ROM:Annotation:Mouth Gestures:Mouth StackQuickTime‚Ñ¢ Beta:Movies:Movie BrowserQuickTime‚Ñ¢ Beta:Programming Stuff:XCMDs:Movie Making StackQuickTime‚Ñ¢ Beta:Movies:Video:Play from Hard Disk:Navigable Scenes:Navigable Scenes StackQuickTime‚Ñ¢ Beta:Photos:HyperCard Examples:Postcard from London: Postcard from LondonQuickTime‚Ñ¢ Beta:Photos:HyperCard Examples:Postcard from Paris: Postcard from ParisQuickTime‚Ñ¢ Beta:Programming Stuff:XCMDs:QTMovieQuickTime‚Ñ¢ Beta:Movies:Video:HyperShopping‚Ñ¢: QuickTimeShoppingNetworkQuickTime‚Ñ¢ Beta:Goodies:DiVA VideoShop‚Ñ¢:VideoShop DemoQuickTime‚Ñ¢ Beta:Goodies:DiVA VideoShop‚Ñ¢:VideoShopQuickTime‚Ñ¢ Beta:Goodies:DiVA VideoShop‚Ñ¢:Visual Catalog</text>
  184.     </content>
  185.     <name></name>
  186.     <script>function NamesToIgnorereturn ",Home,Stack Browser,"end NamesToIgnorefunction FoldersToIgnorereturn ",Hypercard Stacks,More Stacks,Help Stacks,"end FoldersToIgnorefunction findStacks volNameput FoldersToIgnore() into FIgnoreput NamesToIgnore() into NIgnoreput getFileNames(volName & ":",true,"STAK") into foldersif "‚Ä¢‚Ä¢‚Ä¢ Error" is in folders thenglobal savedShortList,savedLongListput savedShortList into cd field shortNamesput savedLongList into cd field longNamesAnswer "This volume/folder " & volName & " does not exist. "¬¨& "Original list restored."return 1end ifrepeat with i = 1 to the number of lines in foldersset cursor to busyput line i of folders into folderNameif "," is in folderName then next repeatif "," & folderName & "," is in FIgnore then next repeatif findStacks (volName & ":" & folderName) = 1 then return 1end repeatput getFileNames(volName & ":",false,"STAK") into stackNamesrepeat with i = 1 to the number of lines in stackNamesset cursor to busyput line i of stackNames into StackNameif "," is in StackName then next repeatif "," & StackName & "," is in NIgnore then next repeatput StackName & return after cd field shortNamesput volname & ":" & StackName & return after cd field longNamesend repeatreturn 0end findStacksfunction FindAllStacks volNameset lockScreen to trueput volName into vif char 1 of v is "*" thendelete char 1 of vAnswer v & " is a locked volume and is unlikely to have " &¬¨"changed. Do you really want to update the stack list? " &¬¨"(This could take a considerable time on a CD ROM)" with¬¨"Okay" , "Cancel"if it is "Cancel" then return 1end ifglobal savedShortList,savedLongListput cd field shortNames into savedShortListput cd field longNames into savedLongListput empty into cd field shortNamesput empty into cd field longNamesset cursor to busyif FindStacks (v) ‚↠0 then return 1sortEmreturn 0end FindAllStackson sortEmrepeat with i = 1 to the number of lines in cd field shortNamesput line i of cd field shortNames into StackNameif char 1 of StackName = " "then delete char 1 of line i of cd field shortNamesend repeatrepeat with i = 1 to the number of lines in cd field shortNamesput line i of cd field shortNames & "," before line i of cd field longNamesend repeatsort lines of cd field shortNames ascendingsort lines of cd field longNames ascendingrepeat with i = 1 to the number of lines in cd field shortNamesdelete item 1 of line i of cd field longNamesend repeatend sortEm</script>
  187. </card>
  188.